//
//  NLAdaptiveFont.h
//  IntelligentLock
//
//  Created by yj_zhang on 2019/5/27.
//  Copyright © 2019 yj_zhang. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NLAdaptiveFont : NSObject

+ (BOOL)isRetina;

+ (BOOL)isRetinaHD;

- (CGSize)fixedScreenSize;

//宽度自适应
+ (float)numberFromWidth750:(float)number;
+ (float)numberFromWidth375:(float)number;
//高度自适应
+ (float)numberFromHeight1334:(float)number;
+ (float)numberFromHeight667:(float)number;

//字体大小
+ (float)numberFontSize:(float)number;
//图片竖宽
+(float)numberImgScaleH:(float)number;
//图片横宽
+(float)numberImgScaleW:(float)number;

@end

NS_ASSUME_NONNULL_END
